package lab02.Test37;

/**
 * Created by Administrator on 2017/11/14.
 */
public class Undergraduate extends Student{

    @Override
       String calGrade() {
           double avg=calAverage();
          if (avg>60) {
              grade="通过";
          }else {
              grade="不通过";
          }
          return grade;
      }
}
